{
const char *uuid, *name, *desc, *path, *url, *author, *version_name;
double state, version;
- gboolean has_version, has_version_name;
+ gboolean has_version, has_version_name, enabled;
g_variant_dict_lookup (info, "uuid", "&s", &uuid);
g_print ("%s\n", uuid);
else if (has_version)
g_print (" %s: %.0f\n", _("Version"), version);
+ g_variant_dict_lookup (info, "enabled", "b", &enabled);
+ g_print (" %s: %s\n", _("Enabled"), enabled ? _("Yes") : _("No"));
+
g_variant_dict_lookup (info, "state", "d", &state);
g_print (" %s: %s\n", _("State"), extension_state_to_string (state));
}